let configmode = []

const getconfigmode = (state=configmode,action)=>{

    switch(action.type){
        case 'GETCONFIG':
            return action.configs.mode
        default:
            return state;
    }
}

export default getconfigmode;